package cn.pzhu.pojo;

public class User {
	private String username;
	private String password;
	private String email;
	private Integer gender;
	private String type;
	private Integer status;
	public User(String username, String password, String email, Integer gender, String type, Integer status) {
		super();
		this.username = username;
		this.password = password;
		this.email = email;
		this.gender = gender;
		this.type = type;
		this.status = status;
	}
	
	public User(String username, String password, Integer status) {
		this(username,password,null,null,null,status);
	}
	
	public User(String username, String password) {
		this(username,password,null,null,null,null);
	}

	public User() {
		super();
		// TODO Auto-generated constructor stub
	}
	public String getUsername() {
		return username;
	}
	public void setUsername(String username) {
		this.username = username;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
	public String getEmail() {
		return email;
	}
	public void setEmail(String email) {
		this.email = email;
	}
	public Integer getGender() {
		return gender;
	}
	public void setGender(Integer gender) {
		this.gender = gender;
	}
	public String getType() {
		return type;
	}
	public void setType(String type) {
		this.type = type;
	}
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	@Override
	public String toString() {
		return "User [username=" + username + ", password=" + password + ", email=" + email + ", gender=" + gender
				+ ", type=" + type + ", status=" + status + "]";
	}
}
